package ve.com.wayoyo.wuml_case;

import android.graphics.Color;


public class UserPref {

	private static UserPref _instancia;
	private int ColorFondoDiagramas;
	private int WinHeight;
	private int WinWidth;
	private int PageHeight;
	private boolean usingConvections;
	
	public boolean isUsingConvections() {
		return usingConvections;
	}

	public void setUsingConvections(boolean usingConvections) {
		this.usingConvections = usingConvections;
	}

	public int getPageHeight() {
		return PageHeight;
	}

	public void setPageHeight(int pageHeight) {
		PageHeight = pageHeight;
	}

	public int getPageWidht() {
		return PageWidht;
	}

	public void setPageWidht(int pageWidht) {
		PageWidht = pageWidht;
	}

	private int PageWidht;
	
	
	public int getWinHeight() {
		return WinHeight;
	}

	public void setWinHeight(int winHeight) {
		WinHeight = winHeight;
	}

	public int getWinWidth() {
		return WinWidth;
	}

	public void setWinWidth(int winWidth) {
		WinWidth = winWidth;
	}

	private UserPref(){
		ColorFondoDiagramas = Color.WHITE;
	}
	
	 public int getColorFondoDiagramas() {
		return ColorFondoDiagramas;
	}

	public void setColorFondoDiagramas(int colorFondoDiagramas) {
		ColorFondoDiagramas = colorFondoDiagramas;
	}

	static public UserPref  getInstancia(){
		if(_instancia == null){
			_instancia =  new UserPref();
			return _instancia;
		}else{
			return _instancia;
		}
	}
	
	 
	 
}
